Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: QuickDraw GX Printing Extensions and Drivers /
Chapter 4 - Printing Messages / Printing Messages Reference
Printing Messages / Finder Menu Messages


GXGetDTPMenuList

The Finder sends the GXGetDTPMenuList message when it displays the Printing menu for a particular desktop printer.You can override the GXGetDTPMenuList message if you need to add menu items to the Printing menu. Your override of the GXGetDTPMenuList message must match the following formal declaration:

OSErr MyGetDTPMenuList (MenuHandle aMenu);
aMenu
A handle to the menu to which you are adding items.
function result
An error code. The value noErr indicates that the operation was successful.
DESCRIPTION
The default implementation of this message provides the initial list of Printing menu items.

You can override this message if you need to add menu items to the Printing menu.You can use the AppendMenu function to add your items.

SPECIAL CONSIDERATIONS
You never send the GXGetDTPMenuList message yourself.

You must forward the GXGetDTPMenuList message. Forward the message first and then add your menu items.

RESULT CODES
gxSegmentLoadFailedErrA required code segment could not be found,
or there was not enough memory to load it.
gxPrUserAbortErrThe user has canceled printing.
SEE ALSO
For more information on desktop printers and the Printing menu, see Inside Macintosh: QuickDraw GX Printing.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help